package cn.wolfcode.luowowo.scenic.domain;

import cn.wolfcode.luowowo.article.domain.Destination;
import cn.wolfcode.luowowo.common.domain.BaseDomain;
import cn.wolfcode.luowowo.member.domain.UserInfo;
import lombok.*;

import java.util.Date;
import java.util.List;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Scenic extends BaseDomain{
    public static final int  SCENIC_HOT=1;
    public static final int  SCENIC_NOHOT=0;

    private Long id;

    private String name;        //景点名称

    private Long parentId;    //关联的父类景点

    private Destination dest;  //关联的目的地

    private Survey survey;      //关联的概况

    private UserInfo userInfo;      //关联作者

    private String title;       //标题

    private Long tagId;   //主题id

    private String coverUrl;    //图片

    private Date createTime;    //创建时间

    private Integer replynum;       //评论数

    private Integer favornum;   //收藏数

    private Integer state;      //状态

    private Boolean ishot;   //是否热门景点

    private ScienceContent content;  //交通等内容

    private Long interior;  //内部景点

    private List<Scenic> subScenic;

    private Integer viewnum;//点击数

    private String scenicTitle;//景点标题
    private List<String> coverImgUrl;

    private String diaomao;//单一的图片
}